<%@ page import="com.blank.web.bean.UserBean" %><%--
  Created by IntelliJ IDEA.
  User: Blank
  Date: 2020/10/21
  Time: 21:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<link href="${pageContext.request.contextPath}/static/css/bootstrap.min.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/static/css/bootstrap-theme.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script  src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<head>
    <title>主界面</title>
</head>
<style>
    body{
        background-color: #f6f6fa;
    }
    .logoInfo{
        position: absolute;
        right:10px;
        top:0px;
        color:slategray;
        font-family: Bahnschrift, serif;
        padding: 5px;
        height: 40px;
        width: 200px;
        line-height: 30px;
        font-size: 17px;
        font-weight: bold;
    }
    .title{
        font-size:30px;
        color: slategray;
        font-family: Bahnschrift, cursive;
        font-weight: bold;
    }
    .content{
        margin-top:60px;
        margin-left:480px;

    }
    .showAll{
        margin-top:60px;
        margin-left: 400px;
    }
    .showAll a{
        list-style: none;
        color: #fff;
    }

    .showByPage{
        margin-left: 80px;
        margin-top: 60px;
    }
    .showByPage a{
        list-style: none;
        color:#fff;
    }

</style>
<body>
<div class="container">
    <div class="logoInfo">
        <span>登录成功,欢迎您<%= ((UserBean)session.getAttribute("user")).getUserName()%></span>
    </div>
    <div class="content">
        <label class="title">学生信息管理表</label>
    </div>
    <div>
        <button type="button" class="btn btn-success showAll"><a href="showStuInfo" >显示所有学生信息</a></button>
        <button type="button" class="btn btn-warning showByPage"><a href="studentInfoPage?currentPage=1">分页显示学生信息</a></button>
    </div>
</div>
</body>
</html>
